package com.smartcanteen.dish;

import com.smartcanteen.security.annotation.EnableCustomConfig;
import com.smartcanteen.security.annotation.EnableRyFeignClients;
import com.smartcanteen.system.api.config.DefaultFeignConfig;
import io.seata.spring.annotation.datasource.EnableAutoDataSourceProxy;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

@EnableCustomConfig
@EnableRyFeignClients
@SpringBootApplication
@EnableAutoDataSourceProxy
public class DishApplication {
    public static void main(String[] args) {
        SpringApplication.run(DishApplication.class, args);
        System.out.println("菜品服务启动成功！！！！！！！！！！");
    }

}
